import { getPublishList, getBannerList } from "@/api/mutualaid/index";
import { message } from "ant-design-vue";
const publishListMethod = async () => {
    const res = await getPublishList({
      page: 1,
      limit: 8,
    });
    if (res.data.code != 0)
      return message.error({
        content: res.data.msg,
      });
  
      return res.data.data;
  
  };

  export default publishListMethod